﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraBars;
using DevExpress.XtraBars.Ribbon;

namespace VietGlobalSoft.SellsManagement.App
{
    public partial class frmMain : DevExpress.XtraBars.Ribbon.RibbonForm
    {
        public frmMain()
        {
            InitializeComponent();
        }

     

        void pnContent_LoadControl(Control control,BarButtonItem barButton,string title)
        {
            pnContent.Controls.Clear();
            pnContent.Controls.Add(control);

            pbTitle_Icon.Image = imglistLarge.Images[barButton.LargeImageIndex];
            lblTitle.Text = title;
        }

       
    }
}